package com.example.zyl.common.query.annotation;


import com.example.zyl.common.query.enums.SensitiveStrategy;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface Sensitive {

    /**
     * 脱敏策略枚举
     * @return 脱敏策略枚举
     */
    SensitiveStrategy strategy();

}
